﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Longtop.Web.WebSite.Admin.Labels.SelectModel>" %>
<select name="<%=Model.Name %>">
    <optgroup label="选择类别">
    </optgroup>
    <%foreach (var item in Model.Labels) {
    %>
    <option <%=item.LableId==Model.SelectedId?"selected='selected'":"" %> value="<%=item.LableId %>">
        <%=item.Text%>
    </option>
    <%} %>
</select>
